package com.lzj.myvideo.service.impl;

import com.lzj.myvideo.common.MD5Util;
import com.lzj.myvideo.service.BgmService;
import com.lzj.myvideo.service.UserService;
import com.shortvideo.dao.bgmMapper;
import com.shortvideo.dao.userMapper;
import com.shortvideo.pojo.User;
import com.shortvideo.pojo.bgm;
import com.shortvideo.pojo.userExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BgmServiceImpl implements BgmService {

    @Autowired(required = true)
    private bgmMapper bgmMapper;


    @Override
    public List<bgm> selectBgm() {
       return bgmMapper.selectAll();
    }

    @Override
    public bgm queryBgmById(String bgmId) {
        return bgmMapper.queryOne(bgmId);
    }
}
